package com.yunfeng.aolin.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.yunfeng.common.entity.Idable;

@Entity
@Table(name = "aolin_stampingproductionreport")
public class StampingProductionReport implements Idable<Long> {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;

	/**
	 * 人员
	 */
	@Column(nullable = false, length = 255)
	private String name;

	/**
	 * 料号
	 */
	@Column(nullable = false, length = 255)
	private String liaohao;

	/**
	 * 模数
	 */
	@Column(nullable = false, length = 10)
	private Integer moldno;

	/**
	 * 数量
	 */
	@Column(nullable = false, length = 10)
	private Integer total;

	/**
	 * 不良数
	 */
	@Column(nullable = false, length = 10)
	private Integer poorno;

	/**
	 * 不良率
	 */
	@Column(length = 255)
	private String nplratio;

	/**
	 * 标准工时
	 */
	@Column(nullable = false, length = 10)
	private Integer stdtime;

	/**
	 * 时间
	 */
	@Column(length = 255)
	private String time;

	/**
	 * 日期
	 */
	@Column(length = 10)
	@Temporal(TemporalType.DATE)
	private Date date;

	/**
	 * 备注
	 */
	@Column(columnDefinition = "text")
	private String remark;

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return this.name;
	}

	/**
	 * @param liaohao
	 *            the liaohao to set
	 */
	public void setLiaohao(String liaohao) {
		this.liaohao = liaohao;
	}

	/**
	 * @return the liaohao
	 */
	public String getLiaohao() {
		return this.liaohao;
	}

	/**
	 * @param moldno
	 *            the moldno to set
	 */
	public void setMoldno(Integer moldno) {
		this.moldno = moldno;
	}

	/**
	 * @return the moldno
	 */
	public Integer getMoldno() {
		return this.moldno;
	}

	/**
	 * @param total
	 *            the total to set
	 */
	public void setTotal(Integer total) {
		this.total = total;
	}

	/**
	 * @return the total
	 */
	public Integer getTotal() {
		return this.total;
	}

	/**
	 * @param poorno
	 *            the poorno to set
	 */
	public void setPoorno(Integer poorno) {
		this.poorno = poorno;
	}

	/**
	 * @return the poorno
	 */
	public Integer getPoorno() {
		return this.poorno;
	}

	/**
	 * @param nplratio
	 *            the nplratio to set
	 */
	public void setNplratio(String nplratio) {
		this.nplratio = nplratio;
	}

	/**
	 * @return the nplratio
	 */
	public String getNplratio() {
		return this.nplratio;
	}

	/**
	 * @param stdtime
	 *            the stdtime to set
	 */
	public void setStdtime(Integer stdtime) {
		this.stdtime = stdtime;
	}

	/**
	 * @return the stdtime
	 */
	public Integer getStdtime() {
		return this.stdtime;
	}

	/**
	 * @param time
	 *            the time to set
	 */
	public void setTime(String time) {
		this.time = time;
	}

	/**
	 * @return the time
	 */
	public String getTime() {
		return this.time;
	}

	/**
	 * @param date
	 *            the date to set
	 */
	public void setDate(Date date) {
		this.date = date;
	}

	/**
	 * @return the date
	 */
	public Date getDate() {
		return this.date;
	}

	/**
	 * @param remark
	 *            the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return this.remark;
	}
}
